package com.pfizer.Entity;

/**
 * HandoutClass--<b>文章分類信息實體</b>--靜態變量為創建數據庫表需要的字段名
 * 
 * @author krui
 * @version 1.40 2011/11/19
 */
public class HandoutClass {

	public static final String HCSTRING = "Node";
	public static final String HCIDSTRING = "Node_ID";
	public static final String HCNAMESTRING = "Node_Name";

	private int Node_ID = 0;
	private String Node_Name = "";

	public HandoutClass(int _ID, String _Name) {
		this.Node_ID = _ID;
		this.Node_Name = _Name;
	}

	public HandoutClass() {

	}

	public HandoutClass(String _ID) {
		this.Node_ID = new Integer(_ID).intValue();
	}

	public void setID(String _ID) {
		this.Node_ID = new Integer(_ID).intValue();
	}

	public long getID() {
		return this.Node_ID;
	}

	public void setName(String _Name) {
		this.Node_Name = _Name;
	}

	public String getName() {
		return this.Node_Name;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return String.valueOf(this.Node_ID) + ",name  " + this.Node_Name + "\n";
	}
}
